﻿<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta charset="utf-8" />
    <link rel="author" title="Mike Bremford" href="http://bfo.com" />
    <style>
      .control {
          font: 50px/1 monospace;
          font-kerning: none;
          white-space: pre;
      }
      .red {
          color: red;
          position: absolute;
          z-index: -1;
      }
      .control span {
          background: green;
      }
    </style>
 </head>
 <body>
  <p>Test passes if no red is visible except for anti-aliasing differences, and the green rectangle does not extend beyond B to C.</p>
  <!-- A <ls> <ls> <bg>B <ls> bet <ls> alef <ls> C</bg> <ls> D <gap> -->
  <div class="control red">A  <span>B &#x5d0; &#x5d1; C</span>  D</div>
  <div class="control">A  <span>B &#x5d0; &#x5d1; C</span>  D</div>
  </body>
</html>
